package com.weitao.marketserver.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("products")
public class Products {

    @TableId(type = IdType.AUTO)
    public Integer id;

    public Float sort;
    public String image;
    public String title;

    @TableField(fill = FieldFill.INSERT)
    public Date tmcreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    public Date tmmodified;
    public Float price;
    public Float fanli;
    public Integer fanlicishu;
    public Integer shengyukucun;
    public Integer zhuangtai;

    @Version
    public Integer version;

    public Integer deleted;
}
